source 'https://github.com/CocoaPods/Specs.git'
inhibit_all_warnings!
#use_frameworks!
use_modular_headers!

target 'UniversalTool' do
  platform :ios, '12.0'

    # 网络
    pod 'ReachabilitySwift'

    # 布局
    pod 'SnapKit'

    # 数据
    pod 'SwiftyJSON'
    pod 'ObjectMapper'

    # UI
    pod 'Toast-Swift'
    pod 'ProgressHUD'
    
    # 辅助工具
    pod 'IQKeyboardManagerSwift'

    # 第三方SDK
    
#    post_install do |installer|
#      
#      installer.pods_project.build_configurations.each do |config|
#        config.build_settings["EXCLUDED_ARCHS[sdk=iphonesimulator*]"] = "arm64"
#      end
#      
#      installer.pods_project.targets.each do |target|
#        target.build_configurations.each do |config|
#          deployment_target = config.build_settings['IPHONEOS_DEPLOYMENT_TARGET']
#          if !deployment_target.nil? && !deployment_target.empty? && deployment_target.to_f < 11.0
#            config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = '11.0'
#          end
#        end
#      end
#    end
    
end
